html, body {
    margin: 0;
    padding: 0;
    /*background-color: #efefef;*/
    font-family: sans-serif;
}

.wrapper {
    max-width: 500px;
    height: 640px;
    padding: 5px;
    margin: 0 auto;
    /*background-color: #c79efe;*/
}

#loginWrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(5, 5, 5, .6);
    text-align: center;
    color: #fff;
    display: block;
    padding-top: 200px;
}

#loginBtn {
    border-radius: 5px;
    margin-top: 4px;
}

#nickWrapper {
    display: none;
}

.banner {
    height: 80px;
    width: 100%;
}

.banner p {
    float: left;
    display: inline-block;
}

.controls {
    height: 100px;
    margin: 5px 0px;
    position: relative;
}

#historyMsg {
    height: 400px;
    background-color: #fff;
    overflow: auto;
    padding: 10px;
    filter: alpha(Opacity=80);
    -moz-opacity: 0.5;
    opacity: 0.5;

}

#historyMsg img {
    max-width: 99%;
}

.timespan {
    color: #ddd;
}

.items {
    height: 30px;
}

#colorStyle {
    width: 50px;
    border: none;
    padding: 0;
}

/*custom the file input*/

.imageLable {
    position: relative;
}

#sendImage {
    position: absolute;
    width: 52px;
    left: 0;
    top: 0;
    opacity: 0;
    overflow: hidden;
}

/*end custom file input*/

#messageInput {
    display: -webkit-inline-box;
    display: inline-block;
    width: 78%;
    max-width: 440px;
    height: 90px;
    max-height: 90px;
    filter: alpha(Opacity=80);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

#sendBtn {
    width: 20%;
    /*max-width: 50px;*/
    height: 96px;
    float: right;
    /*margin-right: 5px;*/
    -webkit-appearance: none;
    background-color: #ebebeb;
    filter: alpha(Opacity=80);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

#emojiWrapper {
    display: none;
    width: 100%;
    height: 200px;
    overflow: auto;
    bottom: 105px;
    position: absolute;
    background-color: #aaa;
    box-shadow: 0 0 10px #555;
}

#emojiWrapper img {
    margin: 2px;
    padding: 2px;
    width: 25px;
    height: 25px;
}

#emojiWrapper img:hover {
    background-color: blue;
}

.emoji {
    display: inline;
}

footer {
    text-align: center;
}

video {
    display: block;
}

video#bgvid {

    position: fixed;
    right: 0;
    bottom: 0;

    min-width: 100%;
    min-height: 100%;

    width: auto;
    height: auto;
    z-index: -100;

    background: url(../video/polina.jpg) no-repeat;

    background-size: cover;

}

